package cn.kgc.easybuy.service;

import cn.kgc.easybuy.pojo.Address;

import java.util.List;

/**
 * @program: yingzi-wants-to-sleep
 * @description:
 * @author: 敖成
 * @create: 2025-09-16 17:06
 **/
public interface AddressService {
    List<Address> selectAllAddress();

    List<Address> selectAddressByUserId(int userId);

    Address selectAddressById(int id);

    boolean addAddress(Address address);

    boolean updateAddress(Address address);

    boolean deleteAddressById(int id);

    Address selectDefaultAddress(int userId);
}
